<script type="text/javascript">
	$(document).ready(function() {
		var divId = "content"; 							//分页显示div
		var formId = "splitPage"; 							//分页formId
		var splitPageDiv = "splitPageDiv"; 				//分页输出显示的div
		
		var totalRow = Number("${pager.total}");			//总行数
		var pageSize = Number("${pager.pageSize}");			//每页显示多少条
		var pageNum = Number("${pager.pageNum}");		//当前第几页 
		var totalPages = Number("${pager.pages}");		//总页数 

		var isSelectPage = true;							// 是否显示第几页
		var isSelectSize = true;							// 是否显示每页显示多少条
		
		var orderColunm = "${pageUtil.orderColunm}"; 		//表格排序的列
		var orderMode = "${pageUtil.orderMode}";			//排序的方式

		// 获取分页HTML信息
		var splitStr = splitPageHtml(divId, formId, totalRow, pageSize, pageNum, totalPages, isSelectPage, isSelectSize, orderColunm, orderMode);
		//alert(splitStr)
		// 显示分页信息
		$("#" + splitPageDiv).html(splitStr);
		if(orderColunm!=""){
			if(orderMode=="asc"){
				$("#th_"+orderColunm).html('<i class="glyphicon glyphicon-arrow-up"></i>');
			}else if(orderMode=="desc"){
				$("#th_"+orderColunm).html('<i class="glyphicon glyphicon-arrow-down"></i>');
			}else{
				$("#th_"+orderColunm).html('');
			}
			
		}
	});
</script>